package lab02.test06;

public class Circle {
    private double r;
    private double grith;
    private double area;

    Circle(){}
    Circle(double r,double grith,double area){
        this.r = r;
        this.grith = grith;
        this.area = area;
    }

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public double getGrith(double r) {
        return 2*3.14*r;
    }

    public void setGrith(double grith) {
        this.grith = grith;
    }

    public double getArea(double r) {
        return 3.14*r*r;
    }

    public void setArea(double area) {
        this.area = area;
    }
}
